package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNameMetaEntity;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "K3OthInStockInsertVo", description = "其他入库新增vo")
public class K3OthInStockInsertVo {

    @JSONField(ordinal = 1)
    @ApiModelProperty("库存组织")
    private K3CloudBaseNumberMetaEntity fstockOrgId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 2)
    @ApiModelProperty("日期")
    private String fdate="";

    @JSONField(ordinal = 3)
    @JsonIgnore
    @ApiModelProperty("单据类型")
    private K3CloudBaseNumberMetaEntity fbilltypeId = new K3CloudBaseNumberMetaEntity("QTRKD01_SYS");

    @JSONField(ordinal = 4)
    @JsonIgnore
    private String fownerTypeIdHead = "BD_OwnerOrg";

    @JSONField(ordinal = 5)
    @ApiModelProperty("货主")
    private K3CloudBaseNumberMetaEntity fownerIdHead= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 7)
    @JsonIgnore
    @ApiModelProperty("库存方向")
    private String fstockDirect = "GENERAL";

    @JSONField(ordinal = 8)
    @ApiModelProperty("部门")
    private K3CloudBaseNumberMetaEntity fdeptId= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 11)
    @JsonIgnore
    @ApiModelProperty("本位币")
    private K3CloudBaseNumberMetaEntity fbaseCurrId = new K3CloudBaseNumberMetaEntity("PRE001");

    @JSONField(ordinal = 12)
    @ApiModelProperty("明细信息")
    private List<K3OthInStockEntryInsertVo> fentity=new ArrayList<>();
}
